<html lang="zh-CN"><head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>关于我们</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&amp;display=swap" rel="stylesheet">
  <style>
      :root {
          --primary-color: #4A90E2;
          --secondary-color: #F5A623;
          --text-color: #333;
          --bg-color: #f5f7fa;
          --glass-bg: rgba(255, 255, 255, 0.9);
      }

      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }

      body {
          font-family: 'Noto Sans SC', sans-serif;
          background: var(--bg-color);
          color: var(--text-color);
          line-height: 1.6;
      }
 
      /* 导航栏样式 */
      .navbar {
          position: fixed;
          top: 0;
          width: 100%;
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          z-index: 1000;
          padding: 1rem 0;
          box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      }

      .nav-container {
          max-width: 1200px;
          margin: 0 auto;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 0 2rem;
      }

      .logo {
          font-size: 1.5rem;
          font-weight: 700;
          color: var(--primary-color);
      }

      .nav-links {
          display: flex;
          gap: 2rem;
      }

      .nav-links a {
          text-decoration: none;
          color: var(--text-color);
          font-weight: 500;
          transition: color 0.3s;
      }

      .nav-links a:hover {
          color: var(--primary-color);
      }

      /* 主要内容区域 */
      .main-content {
          margin-top: 80px;
          padding: 2rem;
      }

      .section {
          max-width: 1200px;
          margin: 2rem auto;
          padding: 2rem;
          background: var(--glass-bg);
          border-radius: 15px;
          box-shadow: 0 8px 32px rgba(0,0,0,0.1);
          backdrop-filter: blur(10px);
      }

      .section-title {
          font-size: 2rem;
          color: var(--primary-color);
          margin-bottom: 1.5rem;
          position: relative;
      }

      .section-title::after {
          content: '';
          position: absolute;
          bottom: -10px;
          left: 0;
          width: 60px;
          height: 4px;
          background: var(--secondary-color);
          border-radius: 2px;
      }

      /* 网站简介部分 */
      .intro-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 2rem;
          margin-top: 2rem;
      }

      .feature-card {
          padding: 1.5rem;
          background: white;
          border-radius: 10px;
          box-shadow: 0 4px 15px rgba(0,0,0,0.05);
          transition: transform 0.3s;
      }

      .feature-card:hover {
          transform: translateY(-5px);
      }

      .feature-icon {
          font-size: 2rem;
          color: var(--primary-color);
          margin-bottom: 1rem;
      }

      /* 联系我们部分 */
      .contact-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 2rem;
      }

      .contact-info {
          display: flex;
          flex-direction: column;
          gap: 1rem;
      }

      .contact-item {
          display: flex;
          align-items: center;
          gap: 1rem;
          padding: 1rem;
          background: white;
          border-radius: 8px;
          transition: transform 0.3s;
      }

      .contact-item:hover {
          transform: translateX(5px);
      }

      .contact-icon {
          font-size: 1.5rem;
          color: var(--primary-color);
      }

      /* 表单样式 */
      .contact-form {
          background: white;
          padding: 2rem;
          border-radius: 10px;
      }

      .form-group {
          margin-bottom: 1.5rem;
      }

      .form-group label {
          display: block;
          margin-bottom: 0.5rem;
          color: var(--text-color);
      }

      .form-group input,
      .form-group textarea {
          width: 100%;
          padding: 0.8rem;
          border: 2px solid #eee;
          border-radius: 8px;
          transition: border-color 0.3s;
      }

      .form-group input:focus,
      .form-group textarea:focus {
          border-color: var(--primary-color);
          outline: none;
      }

      .submit-btn {
          background: var(--primary-color);
          color: white;
          border: none;
          padding: 1rem 2rem;
          border-radius: 8px;
          cursor: pointer;
          transition: background 0.3s;
      }

      .submit-btn:hover {
          background: #357ABD;
      }

      /* 响应式设计 */
      @media (max-width: 768px) {
          .intro-grid,
          .contact-grid {
              grid-template-columns: 1fr;
          }

          .nav-container {
              flex-direction: column;
              gap: 1rem;
          }

          .nav-links {
              flex-direction: column;
              align-items: center;
              width: 100%;
          }

          .section {
              padding: 1rem;
              margin: 1rem;
          }

          .feature-card,
          .contact-item {
              padding: 1rem;
          }
      }

      /* 添加平滑滚动效果 */
      html {
          scroll-behavior: smooth;
      }
  </style>
</head>
<body>
  <!-- 优化导航栏结构 -->
  <nav class="navbar">
    <div class="nav-container">
      <div class="logo">温馨宿舍</div>
      <div class="nav-links">
        <a href="index.HTML">首页</a>
        <a href="index2.html">宿舍成员</a>
        <a href="cht.html">宿舍生活</a>
        <a href="lcz.html">宿舍故事</a>
        <a href="#intro">网站简介</a>
        <a href="#contact">联系我们</a>
      </div>
    </div>
  </nav>

  <div class="main-content">
    <!-- 网站简介部分 -->
    <section id="intro" class="section">
      <h2 class="section-title">网站简介</h2>
      <div class="intro-grid">
        <div class="feature-card">
          <i class="fas fa-bullseye feature-icon"></i>
          <h3>创建目的</h3>
          <p>我们致力于打造一个温馨的网络家园，让宿舍成员能够更好地交流、分享和互动。</p>
        </div>
        <div class="feature-card">
          <i class="fas fa-cogs feature-icon"></i>
          <h3>功能特点</h3>
          <p>提供宿舍管理、生活分享、活动组织等多样化功能，满足宿舍成员的各类需求。</p>
        </div>
        <div class="feature-card">
          <i class="fas fa-users feature-icon"></i>
          <h3>社区互动</h3>
          <p>建立良好的交流平台，促进宿舍成员之间的沟通和理解。</p>
        </div>
        <div class="feature-card">
          <i class="fas fa-shield-alt feature-icon"></i>
          <h3>安全保障</h3>
          <p>采用先进的安全措施，保护用户隐私和数据安全。</p>
        </div>
      </div>
    </section>

    <!-- 联系我们部分 -->
    <section id="contact" class="section">
      <h2 class="section-title">联系我们</h2>
      <div class="contact-grid">
        <div class="contact-info">
          <div class="contact-item">
            <i class="fas fa-envelope contact-icon"></i>
            <div>
              <h3>电子邮件</h3>
              <p>admin@dormitory.com</p>
            </div>
          </div>
          <div class="contact-item">
            <i class="fas fa-phone contact-icon"></i>
            <div>
              <h3>联系电话</h3>
              <p>+86 123 4567 8901</p>
            </div>
          </div>
          <div class="contact-item">
            <i class="fas fa-comment-dots contact-icon"></i>
            <div>
              <h3>在线客服</h3>
              <p>工作时间: 9:00-18:00</p>
            </div>
          </div>
        </div>
        <div class="contact-form">
          <h3>意见反馈</h3>
          <form id="feedbackForm">
            <div class="form-group">
              <label for="name">姓名</label>
              <input type="text" id="name" required="">
            </div>
            <div class="form-group">
              <label for="email">邮箱</label>
              <input type="email" id="email" required="">
            </div>
            <div class="form-group">
              <label for="message">留言内容</label>
              <textarea id="message" rows="5" required=""></textarea>
            </div>
            <button type="submit" class="submit-btn">提交反馈</button>
          </form>
        </div>
      </div>
    </section>
 
  <script>
    // 优化导航栏滚动效果
    let lastScroll = 0;
    const navbar = document.querySelector('.navbar');
    
    window.addEventListener('scroll', () => {
      const currentScroll = window.pageYOffset;
      
      if (currentScroll <= 0) {
        navbar.style.transform = 'translateY(0)';
        navbar.style.boxShadow = '0 2px 10px rgba(0,0,0,0.1)';
        return;
      }

      if (currentScroll > lastScroll && currentScroll > 100) {
        navbar.style.transform = 'translateY(-100%)';
      } else {
        navbar.style.transform = 'translateY(0)';
        navbar.style.boxShadow = '0 2px 10px rgba(0,0,0,0.1)';
      }
      lastScroll = currentScroll;
    });

    // 表单提交处理
    document.getElementById('feedbackForm').addEventListener('submit', function(e) {
      e.preventDefault();
      alert('感谢您的反馈！我们会尽快处理您的意见。');
      this.reset();
    });
  </script>

</div></body></html>